package net.laoyeye.yyblog.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import net.laoyeye.yyblog.model.TPlan;

public interface TPlanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TPlan tPlan);

    int insertSelective(TPlan tPlan);

    int updateByPrimaryKeySelective(TPlan tPlan);

    int updateByPrimaryKey(TPlan tPlan);

    TPlan selectById(Integer id);

    List<TPlan> findPageWithResult(TPlan tPlanDTO);
    
    List<TPlan> listPage(@Param("desc") String desc);

    Integer findPageWithCount(TPlan tPlanDTO);
}
